home *** CD-ROM | disk | FTP | other *** search
- on CDPATH theFileName
- repeat with i = 67 to 90
- set drive to numToChar(i)
- set thispath to string(drive & ":\" & theFileName)
- set myFile to FileIO(mnew, "READ", thispath)
- if objectp(myFile) then
- myFile(mdispose)
- return drive & ":"
- exit
- end if
- end repeat
- alert("Please check that" && QUOTE & theFileName & QUOTE && "is on your CD drive.")
- end
-